﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model
{
    [Table("bi_product_category")]
    public class GoodsType
    {
        [Key]
        [Column("goods_type_id")]
        public int GoodsTypeId { get; set; }

        [Column("parent_category_id")]
        public int ParentCategoryId { get; set; }

        [Column("goods_type_code")]
        public string? GoodsTypeCode { get; set; }

        [Column("goods_type_name")]
        public string? GoodsTypeName { get; set; }

        [Column("sort_order")]
        public int SortOrder { get; set; }

        [Column("status")]
        public int Status { get; set; }

        [Column("is_delete")]
        public int IsDelete { get; set; }

        [Column("create_by")]
        public string? CreateBy { get; set; }

        [Column("create_time")]
        public DateTime CreateTime { get; set; }

        [Column("update_by")]
        public string? UpdateBy { get; set; }

        [Column("update_time")]
        public DateTime UpdateTime { get; set; }

        [Column("remarks")]
        public string? Remarks { get; set; }
    }
}